//
//  HSYShopInfoQrCell.m
//  HSY
//
//  Created by 陈浩 on 2017/4/14.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYShopInfoQrCell.h"

@implementation HSYShopInfoQrCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapQR)];
    [self.codeLabel addGestureRecognizer:tap];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)handleTapQR{
    if (self.qrClickBlock) {
        self.qrClickBlock();
    }
}

@end
